package cn.kgc.crowdfundingadmin.service.impl;

import cn.kgc.crowdfundingadmin.mapper.AuthMapper;
import cn.kgc.crowdfundingadmin.pojo.Auth;
import cn.kgc.crowdfundingadmin.service.AuthService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @auhtor 司云杰
 * @create 2020-  03- 03-17:05
 */
@Service("authService")
public class AuthServiceImpl implements AuthService {
    @Resource
    AuthMapper authMapper;
    @Override
    public List<Auth> getAllAuth() {
        return authMapper.selectByExample(null);
    }
}
